package com.axin.blog.api.config;

import feign.RequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author axin
 * @Date 2021/10/29 15:22
 **/
@Configuration
public class FeignConfiguration {

    @Bean
    public RequestInterceptor requestInterceptor()
    {
        return new FeignRequestInterceptor();
    }
}
